package com.tiancheng.trade.merchant.vo.merchant;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

@Data
public class GetMerchantVO {

    private Long id;
    /**
     * 机构编码/机构ID
     */
    private String organizationCode;
    /**
     * 商户编码/商户ID
     */
    private String merchantCode;
    /**
     * 商户名称
     */
    private String merchantName;
    /**
     * 删除标识
     */
    private Integer isDelete;

    public String getMerchantName() {
        if (StringUtils.isNotEmpty(merchantName)) {
            merchantName = merchantName.trim();
        }
        return merchantName;
    }

}
